package org.smog.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.smog.core.domain.entity.AbstractLongAutoIdAndTimeEntity;
import org.smog.domain.enums.user.StateEnum;

/**
 * @Description: Created by IntelliJ IDEA.
 * @project_name: smogTemp
 * @time: 2020-05-13 16:06
 * @email: 17685306043@163.com
 * @author: huangZhongYao
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user")
public class UserEntity extends AbstractLongAutoIdAndTimeEntity {

    private static final long serialVersionUID = 1610078574284438363L;

    @ApiModelProperty("用户名")
    String userName;

    @ApiModelProperty("手机号")
    String phone;

    @ApiModelProperty("用户状态")
    StateEnum state = StateEnum.UNKNOWN;

    @ApiModelProperty("备注")
    String remarks;


}
